<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\EduDot */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="edu-dot-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'user_id')->textInput() ?>

    <?= $form->field($model, 'avatar')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'room_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'label_one')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'label_two')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'label_three')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'code')->textInput() ?>

    <?= $form->field($model, 'parent_code')->textInput() ?>

    <?= $form->field($model, 'room_images')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'room_teacher')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'room_address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'gradution_count')->textInput() ?>

    <?= $form->field($model, 'gradution_base')->textInput() ?>

    <?= $form->field($model, 'video_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'room_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'total_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'put_money')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'sort')->textInput() ?>

    <?= $form->field($model, 'rank')->textInput() ?>

    <?= $form->field($model, 'status')->textInput() ?>

    <?= $form->field($model, 'create_time')->textInput() ?>

    <?= $form->field($model, 'latitude')->textInput() ?>

    <?= $form->field($model, 'longitude')->textInput() ?>

    <?= $form->field($model, 'collect_count')->textInput() ?>

    <?= $form->field($model, 'collect_base')->textInput() ?>

    <?= $form->field($model, 'room_des')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'show_image')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'update_time')->textInput() ?>

    <?= $form->field($model, 'openid')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
